package com.icinfo.cloud.provider.punish.execute.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.cloud.provider.punish.ucase.casemain.dto.AppendixDto;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 描述：文书阶段公共操作数据保存传输对象
 *
 * @author xiangyuyu
 * @date 2022/2/17 09:15
 */
@Data
@NoArgsConstructor
public class ExecuteCloseSaveDto {
    /**
     * 裁执分离主键
     */
    @NotBlank(message = "裁执分离id不能为空")
    private String executeId;

    /**
     * 结案日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @NotNull(message = "结案日期不能为空")
    private Date closeCaseTime;

    /**
     * 结案情况说明
     */
    @NotBlank(message = "结案情况说明不能为空")
    private String closeCaseDesc;

    /**
     * 拆除面积
     */
    @NotNull(message = "拆除面积不能为空")
    private BigDecimal demolitionArea;


    /**
     * 附件信息列表
     **/
    private List<AppendixDto> appendixList;

    private static final long serialVersionUID = 1L;


}
